Holds information about a complation result, from a program. More...
Public Member Functions | |
ProgramCompilationResult () | |
~ProgramCompilationResult () | |
bool | getSuccess () const |
const char * | getErrorMessage () const |
SHADER_TYPE | getStage () const |
void | setSuccess (bool value) |
void | setErrorMessage (const char *message) |
void | setStage (SHADER_TYPE value) |
Holds information about a complation result, from a program.
nkGraphics::ProgramCompilationResult::ProgramCompilationResult | ( | ) |
Constructor.
nkGraphics::ProgramCompilationResult::~ProgramCompilationResult | ( | ) |
Destructor.
bool nkGraphics::ProgramCompilationResult::getSuccess | ( | ) | const |
const char* nkGraphics::ProgramCompilationResult::getErrorMessage | ( | ) | const |
SHADER_TYPE nkGraphics::ProgramCompilationResult::getStage | ( | ) | const |
void nkGraphics::ProgramCompilationResult::setSuccess | ( | bool | value | ) |
value | If the compilation was a success (true) or not (false). |
void nkGraphics::ProgramCompilationResult::setErrorMessage | ( | const char * | message | ) |
message | The error message description. |
void nkGraphics::ProgramCompilationResult::setStage | ( | SHADER_TYPE | value | ) |
value | The stage at which the error occurred. |